<ion-header>
  <ion-toolbar color="primary">
  <ion-navbar>
    <ion-title>
      强制拍照
    </ion-title>
  </ion-navbar>
  </ion-toolbar>
</ion-header>

<ion-content>
  <ion-card>
    <img  [src]="imgData">
    <ion-card-content>
      <ion-card-title>
        已上传照片{{photoNumber}}张
      </ion-card-title>
      <ion-item>
        <ion-label>当前照片适用业务:</ion-label>
        <ion-select [(ngModel)]="bizType" interface="popover">
          <ion-option value="10">装货</ion-option>
          <ion-option *ngIf="bizTag" value="20">卸货</ion-option>
        </ion-select>
      </ion-item>
    </ion-card-content>
  </ion-card>

</ion-content>
<ion-footer>
  <ion-row>
    <ion-col col-4>
      <button ion-button  icon-left (click)="takePhoto()"><ion-icon name="camera"></ion-icon>&nbsp;拍摄照片</button>
    </ion-col>
    <ion-col col-4>
      <button ion-button [disabled]="disTag" icon-left (click)="upload()"><ion-icon name="cloud-upload"></ion-icon>&nbsp;上传照片</button>
    </ion-col>
    <ion-col col-4>
      <button ion-button full color="light" (click)="goBack()">返回</button>
    </ion-col>
  </ion-row>
</ion-footer>
